<?php /* Smarty version Smarty-3.0.8, created on 2011-08-09 14:43:09
         compiled from "./templates/tattoo\nalog.tpl" */ ?>
<?php /*%%SmartyHeaderCode:223914e41477d30f519-62234322%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8cf0f50d4d1b6c5c871b2979c801cb1731904c5f' => 
    array (
      0 => './templates/tattoo\\nalog.tpl',
      1 => 1312900985,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '223914e41477d30f519-62234322',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include 'class/smarty/plugins\modifier.date_format.php';
?>    <div class="page">
		
		<!--Page content start-->
		<div class="sidebar_page">
			<div class="content">

				<div id="account" class="tabbed">
					<div class="page_capt clearfix">
						<h2><?php echo $_smarty_tpl->getVariable('user')->value['ime'];?>
</h2>
						<h3>Moj nalog</h3>
					</div>
					
					<div class="tabs_hold">
						<a class="current" href="#member_info" rel="inpage">Lični podaci</a>
						<a href="#user_work_color" rel="inpage">Color</a>
						<a href="#user_work_bw" rel="inpage">Black &amp; Grey</a>
						<a href="#user_work_coverup" rel="inpage">Cover Up</a>
						<a href="#user_work_piercing" rel="inpage">Piercing</a>
						<a href="#user_work_flash" rel="inpage">Flash</a>
						<a href="#user_work_personal" rel="inpage">Personal</a>
					</div>
					<div class="tabs_cont_hold">
						<div id="member_info" class="tab_cont">
							<div class="cols3">
								<div class="col">
									<div class="data_view">
										<img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
/slike_za_profil/<?php echo $_smarty_tpl->getVariable('user')->value['slika'];?>
" alt="<?php echo $_smarty_tpl->getVariable('user')->value['ime'];?>
" width="150" height="150" />
										<p><a class="edit_act" href="#user_image_form">Promeni sliku</a></p>
									</div>
									<form class="data_edit" id="user_image_form" name="user_image_form" action="handlers/upload.php" method="post" enctype="multipart/form-data">
										<label for="">Odaberi sliku:</label><br />
										<input class="inp_file w140" id="" name="file" type="file" /><br />
                                                                                <input name="action" type="hidden" value="profilslika" />
										<input name="imagefolder" type="hidden" value="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
/slike_za_profil/" />
                                                                                <input name="thumbfolder" type="hidden" value="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/thumbs/<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
/slike_za_profil/" />
										<input class="inp_btn w80" id="" name="Submit" type="submit" value="Promeni" />
										<input class="edit_act_cancel inp_btn w80" id="" name="" type="button" value="Odustani" />
									</form>
								</div>
								<div class="col">
									<div class="data_view">
										<p>Ime i prezime: <strong><?php echo $_smarty_tpl->getVariable('user')->value['ime'];?>
</strong></p>
										<p>Korisničko ime: <strong id="username"><?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
</strong></p>
										<br />
										<p>Datum rođenja: <strong><?php echo $_smarty_tpl->getVariable('user')->value['datrodjenja'];?>
</strong></p>
										<p>Grad: <strong><?php echo $_smarty_tpl->getVariable('user')->value['mesto'];?>
</strong></p>
										<p>Država: <strong><?php echo $_smarty_tpl->getVariable('user')->value['drzava'];?>
</strong></p>
										<br />
										<p>Telefon: <strong><?php echo $_smarty_tpl->getVariable('user')->value['telefon_privatni'];?>
</strong></p>
										<p>E-mail: <strong><?php echo $_smarty_tpl->getVariable('user')->value['email'];?>
</strong></p>
										<p>Web: <strong><?php echo $_smarty_tpl->getVariable('user')->value['www'];?>
</strong></p>
										<br />
										<p><a class="edit_act" href="#user_basic_form">Promeni podatke</a></p>
									</div>
									<form class="data_edit" id="user_basic_form" name="user_basic_form" action="" method="post">
										<label for="">Ime i prezime:</label><br />
										<input class="inp_text w210" id="" name="ime" type="text" value="<?php echo $_smarty_tpl->getVariable('user')->value['ime'];?>
" /><br />
																				
										<label for="">Datum rođenja:</label><br />
										<input class="inp_text w210" id="" name="datum_rodjenja" type="text" value="<?php echo $_smarty_tpl->getVariable('user')->value['datrodjenja'];?>
" /><br />
										
										<label for="">Grad:</label><br />
										<input class="inp_text w210" id="" name="grad" type="text" value="<?php echo $_smarty_tpl->getVariable('user')->value['mesto'];?>
" /><br />
										
										<label for="">Država:</label><br />
										<input class="inp_text w210" id="" name="drzava" type="text" value="<?php echo $_smarty_tpl->getVariable('user')->value['drzava'];?>
" /><br />
										
										<label for="">Telefon:</label><br />
										<input class="inp_text w210" id="" name="telefon_privatni" type="text" value="<?php echo $_smarty_tpl->getVariable('user')->value['telefon_privatni'];?>
" /><br />
										
										<label for="">E-mail:</label><br />
										<input class="inp_text w210" id="" name="email" type="text" value="<?php echo $_smarty_tpl->getVariable('user')->value['email'];?>
" /><br />
										
										<label for="">Web:</label><br />
										<input class="inp_text w210" id="" name="web" type="text" value="<?php echo $_smarty_tpl->getVariable('user')->value['www'];?>
" /><br />
										
										<input class="inp_btn" id="promeni" name="" type="submit" value="Promeni" />
										<input class="edit_act_cancel inp_btn" id="" name="" type="button" value="Odustani" />
									</form>
								</div>
								<div class="col">
									<div class="data_view">
										<p>Studio: <strong><?php echo $_smarty_tpl->getVariable('user')->value['odgovor'];?>
</strong></p>
										<p>Adresa: <strong><?php echo $_smarty_tpl->getVariable('user')->value['adresa_studija'];?>
</strong></p>
										<br />
										<p>Telefon: <strong><?php echo $_smarty_tpl->getVariable('user')->value['telefon_studio'];?>
</strong></p>
										<p>E-mail: <strong><?php echo $_smarty_tpl->getVariable('user')->value['email_studio'];?>
</strong></p>
										<p>Web: <strong><?php echo $_smarty_tpl->getVariable('user')->value['www_studio'];?>
</strong></p>
										<br />
										<p><a class="edit_act" href="#user_work_form">Promeni podatke</a></p>
									</div>
									<form class="data_edit" id="user_work_form" name="user_work_form" action="" method="post">
										<label for="">Studio:</label><br />
										<input class="inp_text w210" id="" name="studio" type="text" value="<?php echo $_smarty_tpl->getVariable('user')->value['odgovor'];?>
"/><br />
										
										<label for="">Adresa:</label><br />
										<input class="inp_text w210" id="" name="adresa_studija" type="text" value="<?php echo $_smarty_tpl->getVariable('user')->value['adresa_studija'];?>
"/><br />
										
										<label for="">Telefon:</label><br />
										<input class="inp_text w210" id="" name="telefon_studio" type="text" value="<?php echo $_smarty_tpl->getVariable('user')->value['telefon_studio'];?>
" /><br />
										
										<label for="">E-mail:</label><br />
										<input class="inp_text w210" id="" name="email_studio" type="text" value="<?php echo $_smarty_tpl->getVariable('user')->value['email_studio'];?>
"/><br />
										
										<label for="">Web:</label><br />
										<input class="inp_text w210" id="" name="web_studio" type="text" value="<?php echo $_smarty_tpl->getVariable('user')->value['www_studio'];?>
" /><br />
										
										<input class="inp_btn" id="promeni_studio" name="" type="submit" value="Promeni" />
										<input class="edit_act_cancel inp_btn" id="" name="" type="button" value="Odustani" />
									</form>
								</div>
							</div>
							<br /><br />
							<div class="data_view">
								<p>Moto &frasl; O Sebi:<br /><em><?php echo $_smarty_tpl->getVariable('user')->value['osebi'];?>
</em></p>
								<br />
								<p><a class="edit_act" href="#user_about_form">Promeni opis</a></p>
							</div>
							<form class="data_edit" id="user_about_form" name="user_about_form" action="" method="post">
								<label for="">Moto &frasl; O Sebi:</label><br />
								<textarea class="inp_area w420" id="" name="osebi" value="<?php echo $_smarty_tpl->getVariable('user')->value['osebi'];?>
" type="text" cols="" rows="3"><?php echo $_smarty_tpl->getVariable('user')->value['osebi'];?>
</textarea><br />
								
								<input class="inp_btn" id="promeni_osebi" name="" type="submit" value="Promeni" />
								<input class="edit_act_cancel inp_btn" id="" name="" type="button" value="Odustani" />
							</form>
							<br /><br />
							<p>Datum registracije: <strong><?php echo $_smarty_tpl->getVariable('user')->value['datum_registracije'];?>
</strong></p>
							<p>Zadnji login: <strong><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('user')->value['poslednji_pristup'],"%d.%m.%Y");?>
</strong></p>   <!--Ima i vreme-->
							<br />
							<p>Ukupno radova: <strong><?php echo $_smarty_tpl->getVariable('user')->value['broj_fotografija'];?>
</strong></p>   <!--Valjda se na to odnosi-->
							<p>Likes: <strong><?php echo $_smarty_tpl->getVariable('user')->value['broj_skljoceva'];?>
</strong></p>
							<p>Komentara: <strong><?php echo $_smarty_tpl->getVariable('user')->value['broj_komentara'];?>
</strong></p>
							
						</div>
						
						<div id="user_work_color" class="tab_cont">
                                                   		<form class="data_edit data_open" action="handlers/upload.php" method="post" enctype="multipart/form-data">
								<label for="">Dodaj fotografiju</label>
								<input class="inp_file  w210" id="" name="file" type="file" />
                                                                <input name="action" value="dodaj_sliku" type="hidden" />
                                                                <input name="galerija" value="Colour" type="hidden" />
                                                                <input name="imagefolder" type="hidden" value="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
/" />
                                                                <input name="thumbfolder" type="hidden" value="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/thumbs/<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
/" />
								<input class="inp_btn" id="" name="Submit" type="submit" value="Dodaj" /> 
							</form>
							<div class="clearfix thumb_gall">
                                                            <?php  $_smarty_tpl->tpl_vars['UserColourGalleryPhoto'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('UserColourGalleryPhotos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['UserColourGalleryPhoto']->key => $_smarty_tpl->tpl_vars['UserColourGalleryPhoto']->value){
?>
								<div class="gal_item">
									<a class="thumb" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['UserColourGalleryPhoto']->value['id'];?>
" title="Pogledajte uvećanu sliku"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->tpl_vars['UserColourGalleryPhoto']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['UserColourGalleryPhoto']->value['slika'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['UserColourGalleryPhoto']->value['naziv'];?>
" /></a>
									<a class="img_det_user" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['UserColourGalleryPhoto']->value['id'];?>
" title="Pogledajte profil"><?php echo $_smarty_tpl->tpl_vars['UserColourGalleryPhoto']->value['naziv'];?>
</a>
								</div>
                                                            <?php }} ?>                   
							</div><!--end of .thumb_gall-->
							<div class="gal_nav">
								<?php echo $_smarty_tpl->getVariable('paginatorUserColourGallery')->value;?>

							</div>
						</div><!--end of .tab_cont-->
						
					<div id="user_work_bw" class="tab_cont">
							<form class="data_edit data_open" action="handlers/upload.php" method="post" enctype="multipart/form-data">
								<label for="">Dodaj fotografiju</label>
								<input class="inp_file w210" id="" name="file" type="file" />
								<input name="action" value="dodaj_sliku" type="hidden" />
                                                                <input name="galerija" value="Black and Gray" type="hidden" />
                                                                <input name="imagefolder" type="hidden" value="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
/" />
                                                                <input name="thumbfolder" type="hidden" value="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/thumbs/<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
/" />
								
								<input class="inp_btn" id="" name="Submit" type="submit" value="Dodaj" />
							</form>
							<div class="clearfix thumb_gall">
                                                            <?php  $_smarty_tpl->tpl_vars['UserBlackandGrayGalleryPhoto'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('UserBlackandGrayGalleryPhotos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['UserBlackandGrayGalleryPhoto']->key => $_smarty_tpl->tpl_vars['UserBlackandGrayGalleryPhoto']->value){
?>
								<div class="gal_item">
									<a class="thumb" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['UserBlackandGrayGalleryPhoto']->value['id'];?>
" title="Pogledajte uvećanu sliku"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->tpl_vars['UserBlackandGrayGalleryPhoto']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['UserBlackandGrayGalleryPhoto']->value['slika'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['UserBlackandGrayGalleryPhoto']->value['naziv'];?>
" /></a>
									<a class="img_det_user" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['UserBlackandGrayGalleryPhoto']->value['id'];?>
" title="Pogledajte profil"><?php echo $_smarty_tpl->tpl_vars['UserBlackandGrayGalleryPhoto']->value['naziv'];?>
</a>
								</div>
                                                            <?php }} ?>            
							</div><!--end of .thumb_gall-->
							<div class="gal_nav">
								<?php echo $_smarty_tpl->getVariable('paginatorUserBlackandGrayGallery')->value;?>

							</div>
						</div><!--end of .tab_cont-->
						
						<div id="user_work_coverup" class="tab_cont">
							<form class="data_edit data_open" action="handlers/upload.php" method="post" enctype="multipart/form-data">
								<label for="">Dodaj fotografiju</label>
								<input class="inp_file  w210" id="" name="file" type="file" />
								<input name="action" value="dodaj_sliku" type="hidden" />
                                                                <input name="galerija" value="Cover up" type="hidden" />
                                                                <input name="imagefolder" type="hidden" value="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
/" />
                                                                <input name="thumbfolder" type="hidden" value="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/thumbs/<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
/" />
								<input class="inp_btn" id="" name="Submit" type="submit" value="Dodaj" />
							</form>
							<div class="clearfix thumb_gall">
                                                            <?php  $_smarty_tpl->tpl_vars['UserCoverUpGalleryPhoto'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('UserCoverUpGalleryPhotos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['UserCoverUpGalleryPhoto']->key => $_smarty_tpl->tpl_vars['UserCoverUpGalleryPhoto']->value){
?>
								<div class="gal_item">
									<a class="thumb" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['UserCoverUpGalleryPhoto']->value['id'];?>
" title="Pogledajte uvećanu sliku"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->tpl_vars['UserCoverUpGalleryPhoto']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['UserCoverUpGalleryPhoto']->value['slika'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['UserCoverUpGalleryPhoto']->value['naziv'];?>
" /></a>
									<a class="img_det_user" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['UserCoverUpGalleryPhoto']->value['id'];?>
" title="Pogledajte profil"><?php echo $_smarty_tpl->tpl_vars['UserCoverUpGalleryPhoto']->value['naziv'];?>
</a>
								</div>
                                                            <?php }} ?>           
							</div><!--end of .thumb_gall-->
							<div class="gal_nav">
								<?php ob_start();?><?php echo $_smarty_tpl->getVariable('paginatorUserCoverUpGallery')->value;?>
<?php $_tmp1=ob_get_clean();?><?php echo $_tmp1;?>

							</div>
						</div><!--end of .tab_cont-->
						
						<div id="user_work_piercing" class="tab_cont">
							<form class="data_edit data_open" action="handlers/upload.php" method="post" enctype="multipart/form-data">
								<label for="">Dodaj fotografiju</label>
                                                                <input class="inp_file  w210" id="" name="file" type="file" />
								<input name="action" value="dodaj_sliku" type="hidden" />
                                                                <input name="galerija" value="Piercing" type="hidden" />
                                                                <input name="imagefolder" type="hidden" value="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
/" />
                                                                <input name="thumbfolder" type="hidden" value="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/thumbs/<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
/" />
								<input class="inp_btn" id="" name="Submit" type="submit" value="Dodaj" /> 
							</form>
							<div class="clearfix thumb_gall">
                                                            <?php  $_smarty_tpl->tpl_vars['UserPiercingGalleryPhoto'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('UserPiercingGalleryPhotos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['UserPiercingGalleryPhoto']->key => $_smarty_tpl->tpl_vars['UserPiercingGalleryPhoto']->value){
?>
								<div class="gal_item">
									<a class="thumb" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['UserPiercingGalleryPhoto']->value['id'];?>
" title="Pogledajte uvećanu sliku"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->tpl_vars['UserPiercingGalleryPhoto']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['UserPiercingGalleryPhoto']->value['slika'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['UserPiercingGalleryPhoto']->value['naziv'];?>
" /></a>
									<a class="img_det_user" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['UserPiercingGalleryPhoto']->value['id'];?>
" title="Pogledajte profil"><?php echo $_smarty_tpl->tpl_vars['UserPiercingGalleryPhoto']->value['naziv'];?>
</a>
								</div>
                                                            <?php }} ?>
							</div><!--end of .thumb_gall-->
							<div class="gal_nav">
								<?php ob_start();?><?php echo $_smarty_tpl->getVariable('paginatorUserPiercingGallery')->value;?>
<?php $_tmp2=ob_get_clean();?><?php echo $_tmp2;?>

							</div>
						</div><!--end of .tab_cont-->
						
						<div id="user_work_flash" class="tab_cont">
							<form class="data_edit data_open" action="handlers/upload.php" method="post" enctype="multipart/form-data">
								<label for="">Dodaj fotografiju</label>
								<input class="inp_file  w210" id="" name="file" type="file" />
                                                                <input name="action" value="dodaj_sliku" type="hidden" />
                                                                <input name="galerija" value="Flash" type="hidden" />
                                                                <input name="imagefolder" type="hidden" value="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
/" />
                                                                <input name="thumbfolder" type="hidden" value="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/thumbs/<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
/" />
								<input class="inp_btn" id="" name="Submit" type="submit" value="Dodaj" /> 
							</form>
							<div class="clearfix thumb_gall">
                                                            <?php  $_smarty_tpl->tpl_vars['UserFlashGalleryPhoto'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('UserFlashGalleryPhotos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['UserFlashGalleryPhoto']->key => $_smarty_tpl->tpl_vars['UserFlashGalleryPhoto']->value){
?>
                                                                <div class="gal_item">
									<a class="thumb" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['UserFlashGalleryPhoto']->value['id'];?>
" title="Pogledajte uvećanu sliku"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->tpl_vars['UserFlashGalleryPhoto']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['UserFlashGalleryPhoto']->value['slika'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['UserFlashGalleryPhoto']->value['naziv'];?>
" /></a>
									<a class="img_det_user" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['UserFlashGalleryPhoto']->value['id'];?>
" title="Pogledajte profil"><?php echo $_smarty_tpl->tpl_vars['UserFlashGalleryPhoto']->value['naziv'];?>
</a>
								</div>
                                                            <?php }} ?>           
							</div><!--end of .thumb_gall-->
							<div class="gal_nav">
								<?php ob_start();?><?php echo $_smarty_tpl->getVariable('paginatorUserFlashGallery')->value;?>
<?php $_tmp3=ob_get_clean();?><?php echo $_tmp3;?>

							</div>
						</div><!--end of .tab_cont-->
						
						<div id="user_work_personal" class="tab_cont">
							<form class="data_edit data_open" action="handlers/upload.php" method="post" enctype="multipart/form-data">
								<label for="">Dodaj fotografiju</label>
								<input class="inp_file  w210" id="" name="file" type="file" />
                                                                <input name="action" value="dodaj_sliku" type="hidden" />
                                                                <input name="galerija" value="Personal" type="hidden" />
                                                                <input name="imagefolder" type="hidden" value="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
/" />
                                                                <input name="thumbfolder" type="hidden" value="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/thumbs/<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
/" />
								<input class="inp_btn" id="" name="Submit" type="submit" value="Dodaj" /> 
							</form>
							<div class="clearfix thumb_gall">
                                                            <?php  $_smarty_tpl->tpl_vars['UserPersonalGalleryPhoto'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('UserPersonalGalleryPhotos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['UserPersonalGalleryPhoto']->key => $_smarty_tpl->tpl_vars['UserPersonalGalleryPhoto']->value){
?>
								<div class="gal_item">
									<a class="thumb" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['UserPersonalGalleryPhoto']->value['id'];?>
" title="Pogledajte uvećanu sliku"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->tpl_vars['UserPersonalGalleryPhoto']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['UserPersonalGalleryPhoto']->value['slika'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['UserPersonalGalleryPhoto']->value['naziv'];?>
" /></a>
									<a class="img_det_user" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['UserPersonalGalleryPhoto']->value['id'];?>
" title="Pogledajte profil"><?php echo $_smarty_tpl->tpl_vars['UserPersonalGalleryPhoto']->value['naziv'];?>
</a>
								</div>
                                                            <?php }} ?>       
							</div><!--end of .thumb_gall-->
							<div class="gal_nav">
								<?php ob_start();?><?php echo $_smarty_tpl->getVariable('paginatorUserPersonalGallery')->value;?>
<?php $_tmp4=ob_get_clean();?><?php echo $_tmp4;?>

							</div>
						</div><!--end of .tab_cont-->

					</div><!--end of .tabs_cont_hold-->
				</div>
				
				
				<!-- Page bottom blocks -->
				<div class="cols3spanL" id="botom_boxes">
					<div class="col"><?php $_template = new Smarty_Internal_Template("bottom_banners.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?></div>
					<div class="col"><?php $_template = new Smarty_Internal_Template("chat.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?></div>
				</div>
				
			</div>
			<!--Content end (.content)-->
			<div class="sidebar"><?php $_template = new Smarty_Internal_Template("sidebar_banners.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?></div>
		</div>
		<!--Page content end (.sidebar_page)-->
	</div>
